package com.wangsb.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @Author: shenbing.wang
 * @CreateDate: 2021/2/1 23:51
 * @Version: 1.0
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String name;
    private String[] alias;
    private List<String> hobby;
    private Map<String, String> relatives;
    private Role role;
    private List<Role> roles;
}
